package Test001;

public class Test {
    public static void main(String[] args) {
        Person person1=new Person();
        person1.setName("张三");
        person1.setHeight(165.5);
        person1.setWeight(45.0);
        Person person2=new Person();
        person2.setName("李四");
        person2.setHeight(170.0);
        person2.setWeight(55.0);
        person1.show();
        person2.show();
        Phone phone1=new Phone("小米",2999.0,"白色");
        Phone phone2=new Phone();
        phone2.setBrand("华为");
        phone2.setPrice(3999.0);
        phone2.setColor("黑色");
        phone1.call();
        phone2.call();
        phone1.sendMassage();
        phone2.sendMassage();
        System.out.println("初始学生人数："+Student.getTotalStudents());
        Student student1=new Student("张三");
        Student student2=new Student("李四");
        Student student3=new Student("王五");
        System.out.println("三个学生后学生人数"+Student.getTotalStudents());
        System.out.println(Student.totalStudents);
        GameCharacter character01=new GameCharacter("法师",2);
        GameCharacter character02=new GameCharacter("刺客",3);
        GameCharacter character03=new GameCharacter("战士",4);
        GameCharacter.displayServerStatus();
        character01.setLevel(6);
        character02.levelup();
        character03.levelup();
        character01.show02();
        character02.show02();
        character03.show02();

    }
}
